#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
}

void Widget::enterEvent(QEvent *event)
{
    (void)event;
    qDebug()<< "enter widget";
}

void Widget::leaveEvent(QEvent *event)
{
    (void)event;
    qDebug() << "leave widget";
}

Widget::~Widget()
{
    delete ui;
}

